<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            list-style: none;
        }
        li{
            height: 50px;
            width: 80px;
            background-color: #ffc0cb;
            text-align: center;
            line-height: 50px;
            color: white;
            font-size: 16;
            float: left;
        }
        li:hover{
            background-color: #008000;
        }
    </style>
</head>
<body>
    <ul>
        <li>新闻</li>
        <li>新闻</li>
        <li>新闻</li>
        <li>新闻</li>
        <li>新闻</li>
        <li>新闻</li>
        <li>新闻</li>
        <li>新闻</li>
    </ul>
</body>
</html>